package com.aaa.order.dao;

import com.aaa.entity.LoginLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 荆豪峰
 * @version 1.0
 * #Date: 2023/3/3 16:35
 */
public interface UserLoginLogDao extends BaseMapper<LoginLog> {
    @Select("SELECT count(login_time) AS cthree,login_time  FROM sys_login_log   GROUP BY login_time")
    List<LoginLog> selectUserLogin();
    @Select("SELECT count(login_time) AS cone ,login_time  FROM mbs_login_log   GROUP BY login_time")
    List<LoginLog> selectClientLogin();

}
